Fixes for emacs-repository-get-version
authorGlenn Morris <rgm@gnu.org>
Wed, 22 Jan 2014 17:26:14 +0000 (09:26 -0800)
committerGlenn Morris <rgm@gnu.org>
Wed, 22 Jan 2014 17:26:14 +0000 (09:26 -0800)
commitc260944864ef73d3aeb27d1aa0b3caea6ba1f544
tree7b39fa4719ae1bb4f4f56ff47a4afb79cdf9596a
parent81ac6aa345f00ad122ab779502529072e7a52880
Fixes for emacs-repository-get-version

* lisp/version.el (emacs-repository-get-version):
Check either .bzr or .git, but not both.
Make the git case actually use the DIR argument, and return nil
rather than the empty string.

* etc/NEWS: Don't mention that emacs-repository-version works for git,
because it only returns nil (since it uses %N and there seem to be no
notes in the git version of the Emacs repo.)
No idea why this change is in trunk during a feature freeze anyway.
etc/NEWS
lisp/ChangeLog
lisp/version.el